# [README] Beam and Quimbo 2021

The Impact of Short-Term Employment for Low-Income Youth: Experimental Evidence from the Philippines

Emily A. Beam and Stella Quimbo

## Overview

The code in this replication package constructs the results for Beam and Quimbo (2021). The replicator should expect this code to run for about 30 minutes.

Data Availability and Provenance Statements
----------------------------

- [x] I certify that the author(s) of the manuscript have legitimate access to and permission to use the data used in this manuscript. 




### Summary of Availability

All data **are** publicly available.



Dataset list
------------



| Data file | Source | Notes    |Provided |
|-----------|--------|----------|---------|
| `data/01_raw/spes_data_init.dta` | Primary | Quanitiative data | Yes |
| `data/01_raw/peval.dta`          | Primary | Process evaluation data | Yes |
|                                  |         |                         |          |


Computational requirements
---------------------------

### Software Requirements

- Stata (code was last run with version 17.0)
  - All packages included in `code/ado`
  

### Memory and Runtime Requirements

#### Summary

Approximate time needed to reproduce the analyses on a standard 2020 desktop machine: 10–20 minutes

### Details

The code was last run on a **Macbook Air (M1 2020) laptop with MacOS version 11.6.1**


Description of programs/code
----------------------------



- The master do-file is`code/0_master_beamquimbo.do` , which will create the cleaned dataset and run all programs to create tables.

- Programs in `code/create` clean the data and generate `spes_data.dta`. Programs in `02_analysis` generate all tables and figures in the main body of the article. 

- All output is stored in `results`, sorted by tables (`01_tables`), figures (`02_figures`), and log files (`03_output`). While most output files are labelled according to their placement in the paper(`table_02.tex`, `table_a04.tex`, etc), some use descriptive abbreviations because the same loop is generating multiple main and appendix tables. See the Output File listing below to find the appropriate output table names. 

- Ado files have been stored in `code/ado`, and the `master.do` files set the ADO directories appropriately. 

  

Instructions to Replicators
---------------------------

- Edit `code/0_master_beamquimbo.do` to adjust the default paths. Ensure relevant directories are present.
- Run `code/0_master_beamquimbo.do` to run all steps in sequence.

### Details

- `code/0_master_beamquimbo.do` contains all programs needed to replicate tables and figures
- After setting up initial code and paths, tables can be run in any order. 

List of tables and programs
---------------------------

The provided code reproduces all tables and figures in the paper




| Figure/Table #    | Program                  | Line Number | Output file                     | Note                            |
|-------------------|--------------------------|-------------|----------------------------------|---------------------------------|
| Table 1           | 02_analysis/table_01.do |             | table_a01.xls <br>beamquimbo_tables.xls/Table 1 | Joint test p-values in log                     |
| Table 2           | 02_analysis/table_02.do |           | table_02.tex                                    |                                                |
| Table 3           | 02_analysis/table_03_05_06.do | 292 | table3_ivspes_panel.tex |Loops over identical specifications for tables|
| Table 4        | 02_analysis/table_04.do |             | table_04.xls |                                                |
| Table 5        | 02_analysis/table_03_05_06.do    | 442         | table5_ivspes_panel.tex                                 |                                                |
| Table 6        | 02_analysis/table_03_05_06.do    | 579         | table6_ivspes_panel.tex                                 |                                                |
| Table 7 | 02_analysis/table_07.do | | table7_ivspes_panel.tex |  |
|                |                                  |             |                                                         |                                                |
| Figure 1       | N/A                              |             |                                                         | Timeline                                       |
|                |                                  |             |                                                         |                                                |
| Table A1       | 02_analysis/table_a01.do |             | table_a01.xls |                                                |
| Table A2       | 02_analysis/table_a02.do |             | beamquimbo_tables.xls/Table A2 |                                                |
| Table A3       | 02_analysis/table_a03.do |             | table_a03.tex |                                                |
| Table A4       | 02_analysis/table_a04.do |             | N/A (log file) | Column 1 derived from BLE (2017) |
| Table A5       | 02_analysis/table_a05_a06.do |             | beamquimbo_tables.xls/Table A5 |                                                |
| Table A6       | 02_analysis/table_a05_a06.do |             | beamquimbo_tables.xls/Table A6 |                                                |
| Table A7       | 02_analysis/table_a07.do |             | table_a07.xls, beamquimbo_tables.xlsx/Table A7 |                                                |
| Table A8       | 02_analysis/table_a08.do |             | table_a08.tex |                                                |
| Table A9       | 02_analysis/table_a09.do |             | table_a09.tex |  |
| Table A10      | 02_analysis/table_a10.do |             | table_a10.tex |                                                |
| Table A11      | 02_analysis/table_a11.do |             | beamquimbo_tables.xls/Table A11 |  |
| Table A12      | 02_analysis/table_a12.do         |             | N/A (log file)                                          |  |
| Table A13      | 02_analysis/table_a13_a16.do     |             | table_a13.tex                                           |  |
| Table A14      | N/A |             |                                                         |  |
| Table A15      | 02_analysis/table_a15.do |             | table_a15.tex |  |
| Table A16      | 02_analysis/table_a13_a16.do     |             | table_a16.tex                                           |  |
|                |                                  |             |                                                         |  |
| Figure A1      | 02_analysis/figure_a01.do        |             | figure_a01.png                                          |  |
| Figure A2      | 02_analysis/figure_a02.do |             | N/A (log file) |  |
|                |                                  |             |                                                         |  |
| Table B1       | 02_analysis/table_03_05_06.do    | 292         | table3_itt_panel.tex                                    |                                                |
| Table B2       | 02_analysis/table_03_05_06.do    | 442         | table5_itt_panel.tex                                    |                                                |
| Table B3       | 02_analysis/table_03_05_06.do    | 579         | table6_itt_panel.tex                                    |                                                |
| Table B4       | 02_analysis/table_07.do          |             | table7_itt_panel.tex                                    |  |
| Table B5       | 02_analysis/table_03_05_06.do    | 292         | table3_ivtr_panel.tex                                   |  |
| Table B6       | 02_analysis/table_03_05_06.do    | 442         | table5_ivtr_panel.tex                                   |  |
| Table B7       | 02_analysis/table_03_05_06.do    | 579         | table6_ivtr_panel.tex                                   |  |
| Table B8       | 02_analysis/table_07.do          |             | table7_ivtr_panel.tex                                   |  |
| Table B9       | 02_analysis/table_b09_b10_b11.do |             | table3_ivspes_panel_nocov                               |  |
| Table B10      | 02_analysis/table_b09_b10_b11.do |             | table5_ivspes_panel_nocov                               |  |
| Table B11      | 02_analysis/table_b09_b10_b11.do |             | table6_ivspes_panel_nocov                               |  |
|                |                                  |             |                                                         |  |
|                | PanelCombine.do                  |             |                                                         | Used to assemble panels across multiple tables |
|                |                                  |             |                                                         |  |

## References



Bureau of Local Employment, “Special Program for Employment of Students: 2016 Year-End Report,” 2017.

O'Connell, Stephen D. "PanelCombine" 2018. https://github.com/steveofconnell/PanelCombine. Commit [7cb13e3 ](https://github.com/steveofconnell/PanelCombine/commit/7cb13e390849356baac690eb4e1e0cef4d164423)

Reif, Julian. "Stata Coding Guide: Libraries" 2021. https://julianreif.com/guide/#libraries. 

Social Science Data Editors. 2021. "Unofficial guidance on various topics by Social Science Data Editors". *Data and Code Guidance by Data Editors.* Accessed at https://social-science-data-editors.github.io/guidance/ on 2021-11-22.

---

## Acknowledgements

README template from [Social Science Data Editors](https://social-science-data-editors.github.io/template_README/)
